﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProjectDataBase
{
    public class EFHelper
    {
        public static string GetEntityMySqlConnectionString(string argCatalog)
        {
            string text = "127.0.0.1";
            string text2 = "root";
            string text3 = "root";
            string text4 = "3306";
            return string.Format("server={0};user id={2};password={3};connect timeout=15;persistsecurityinfo=true;port={4};database={1};charset=utf8mb4", text, argCatalog, text2, text3, text4);
        }
    }
}
